<%@ Page Language="C#" MasterPageFile="~/GUI/Webpage/MasterTunga.master" AutoEventWireup="true" CodeFile="CompleteOrderFood.aspx.cs" Inherits="GUI_Webpage_CompletOrderFood" Title="Complete order food |TUNGA Restuarnts" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="tdHolder" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <img src="../../GUI/Image/WebsiteTemplate/30-4/Title_OrderFood.jpg" alt="Order food" />
        </td>
    </tr>  
        <tr>
            <td>
                <table class="TableOrderContent" border="0" cellpadding="5" cellspacing="5">
                <tr>
                    <td>
                        <table>
                            <tr>
                                <td>
                                    <asp:Literal ID="ltrWarning" runat="server"></asp:Literal>
                                </td>
                            </tr>
                           <tr>
                                <td >
                                    <asp:DataList ID="dlDisplayCart" runat="server" CssClass="TableOrderContent" Width="605px"
                                    RepeatColumns="2" BackColor="White" BorderColor="#3366CC" 
                                    BorderStyle="None" BorderWidth="1px" CellPadding="4" GridLines="Both">
                                        <ItemTemplate>
                                            <table>
                                                <tr>
                                                    <td style="width: 40px">
                                                        <asp:CheckBox ID="chkID" runat="server" />
                                                        <asp:Label ID="lblID" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"foodID") %>'
                                                         Enabled="False" Visible="False"></asp:Label></td>
                                                    <td class="controlText" >
                                                        Food name:</td>
                                                    <td>
                                                        <asp:Label ID="lblFoodName" runat="server" CssClass="controlText" 
                                                        Text='<%#DataBinder.Eval(Container.DataItem, "foodName")%>'></asp:Label></td>
                                           
                                                </tr>
                                                <tr>
                                                     <td></td>
                                                    <td>
                                                        Price:</td>
                                                    <td style="width: 50px">
                                                        $<asp:Label ID="lblPrice" runat="server" CssClass="controlText" 
                                                        Text='<%#DataBinder.Eval(Container.DataItem, "price")%>'></asp:Label></td>
                                               
                                                </tr>
                                                <tr>
                                                <td></td>
                                                    <td >
                                                        Number persons:</td>
                                                    <td style="width: 50px">
                                                        <asp:Label ID="lblNumberPerson" runat="server" CssClass="controlText" 
                                                        Text='<%#DataBinder.Eval(Container.DataItem, "numberOfPerson")%>'></asp:Label></td>
                                                
                                                </tr>
                                                <tr>
                                                <td></td>
                                                    <td >
                                                        Quantity:</td>
                                                    <td style="width: 50px">
                                                        <asp:TextBox ID="txtQuantity" runat="server" CssClass="controlText" 
                                                        Text ='<%#DataBinder.Eval(Container.DataItem, "quantity")%>' Width="80px"></asp:TextBox></td>
                                              
                                                </tr>
                                                <tr>
                                                 
                                                </tr>
                                                <tr>
                                                    <td colspan="2">
                                                        <asp:Button ID="btnRemove" runat="server" Text="Remove" /></td>
                                                    <td style="width: 50px">
                                                    </td>
                                                   
                                                </tr>
                                            </table>
                                        </ItemTemplate>
                                        <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                                        <SelectedItemStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                                        <ItemStyle BackColor="White" ForeColor="#003399" />
                                        <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
                                        <HeaderTemplate>
                                            YOUR ORDER FOOD CART
                                        </HeaderTemplate>
                                        <FooterTemplate>
                                            &nbsp;
                                        </FooterTemplate>
                                    </asp:DataList>
                                  
                                </td>
                           </tr>
                           <tr>
                                <td style="width: 476px">
                                    &nbsp;
                                            <asp:Button ID="btnUpdate" runat="server" Text="Update" /><asp:Button ID="btnDelete"
                                                runat="server" Text="Delete" /><asp:Button ID="btnEmpty" runat="server" Text="Empty" /></td>
                           </tr>
                        </table>
                    </td>
                </tr>
                  <tr>
        <td>
           <table class="TableOrderContent" cellpadding="5" cellspacing="5" align="center">
               <tr>
                    <td colspan="3">
                        <strong><i>
                        Please enter full your information to finish                           
                        </i></strong>
                    </td>
                </tr>
                  <tr>
                      <td>
                          *Full name:
                      </td>
                   <td >
                       <asp:TextBox ID="txtFullName" runat="server"></asp:TextBox></td>
                </tr>
                 <tr>
                     <td>
                      *Email:</td>
                     <td >
                     <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox></td>
                 </tr>
                  <tr>
                     <td>
                       Phone:</td>
                     <td>
                        <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox></td>
                   </tr>
                   <tr>
                     <td >
                       *Credit card No.</td>
                      <td colspan="2">
                       <asp:TextBox ID="txtAccount" runat="server"></asp:TextBox></td>
                       
                   </tr>
                   <tr>
                       <td >
                           Deliver Name: </td>
                          <td colspan="2">
                           <asp:TextBox ID="txtDeliverName" runat="server"></asp:TextBox></td>
                    </tr>
                     <tr>
                       <td >
                           *Deliver Address: </td>
                          <td colspan="2">
                           <asp:TextBox ID="txtAdress" runat="server"></asp:TextBox></td>
                    </tr>
               <tr>
                   <td>
                       Comments:</td>
                   <td colspan="2">
                       <asp:TextBox ID="txtComment" runat="server" CssClass="controlText" TextMode="MultiLine"></asp:TextBox></td>
               </tr>
                      <tr>
                        <td class="tdButton" colspan="3"
                        ><asp:Button ID="btnComplete" runat="server" Text="Order" class="button" OnClick="btnComplete_Click" />
                        </td>
                    </tr>                                                              
               <tr>
                   <td class="tdButton" colspan="3">
                       <asp:Literal ID="ltrThankYou" runat="server"></asp:Literal></td>
               </tr>
            </table>
        </td>
        </tr>
            </table>       
          </td>
      </tr>
</table>
</asp:Content>

